﻿<%@ Page Language="C#" MasterPageFile="~/member/mMenber.master" AutoEventWireup="true" CodeBehind="buy_3.aspx.cs" Inherits="map.member.order.buy_3" Title="买家-待付款订单" %>
<%@ Register assembly="RuleCode.Common" namespace="RuleCode.Controls" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
    <link href="../../outstyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .CommandButton
        {
            background:url(/img/back-button_61x23.gif) no-repeat;
            height:23px;
            width:61px;
            border:none;
            cursor:pointer;
        }
    </style>
<script src="../../js/dropdowncontent.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <asp:Label ID="Label1" runat="server" Text="买家-待付款订单"></asp:Label>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
       Width="100%" DataKeyNames="RECID"
        BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" 
        CellPadding="4" ForeColor="Black" GridLines="Vertical" 
            onrowcommand="GridView1_RowCommand">
        <RowStyle BackColor="#F7F7DE" />
        <Columns>
            <asp:TemplateField HeaderText="图片"><ItemTemplate><asp:Image ID="Image2" runat="server" ImageUrl='<%#Eval("taobaopic_path")%>' Width="60px"  Height="60px" /></ItemTemplate></asp:TemplateField>
            <asp:BoundField DataField="seller_nick" HeaderText="卖家" />
            <asp:BoundField DataField="taobaoname" HeaderText="商品名称" />
            <asp:BoundField DataField="taobaoprice" HeaderText="单价" />
            <asp:BoundField DataField="taobaonum" HeaderText="数量" />
            <asp:BoundField DataField="taobaocreated" HeaderText="创建时间" />
            <asp:BoundField DataField="taobaopayment" HeaderText="应付金额" />  
            <asp:BoundField DataField="cbtrantype" HeaderText="物流方式" /> 
            <asp:TemplateField HeaderText="操作"><ItemTemplate>
                <asp:Button ID="Button_pay" runat="server" Text="付款" ToolTip="确认付款" CommandName="pay"  CssClass="CommandButton"
                CommandArgument= '<%#Eval("RECID").ToString()%>'/>              
            </ItemTemplate></asp:TemplateField>                                                  
        </Columns>
        <FooterStyle BackColor="#CCCC99" />
        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
</ContentTemplate>
    </asp:UpdatePanel> 
<hr />
<cc1:WebPager ID="WebPager1" runat="server" ControlToPaginate="GridView1"   OnPageIndexChanged ="WebPager1_PageIndexChanged"
    PageSize="20" />

</asp:Content>